package com.sea.human.mapper;

import com.sea.human.entity.PerformanceCheck;
import com.sea.human.entity.PerformanceDetail;

import java.util.List;

public interface PerformanceCheckMapper {
    /**
     * 条件查询
     * @param performanceCheck
     * @return
     */
    List<PerformanceCheck> findByCnd(PerformanceCheck performanceCheck);

    /**
     * 新增绩效
     * @param performanceCheck
     * @return
     */
    int insert(PerformanceCheck performanceCheck);

    /**
     * 查询指定
     * @param id
     * @return
     */
    PerformanceCheck findById(Integer id);

    /**
     * 修改
     * @param performanceCheck
     * @return
     */
    int update(PerformanceCheck performanceCheck);

    /**
     * 删除指定
     * @param id
     * @return
     */
    int delete(Integer id);


}
